Wpo\Services\Access_Token_Service D

Total Complexity 136
Dependencies 8
Dependents 7
Total lines 916
Lines of code 602
Logical lines of code 364
Comment lines 139
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
get_access_token()
D
24
34 180
get_app_only_access_token()
D
28
32 128
save_access_tokens()
A
41 14 57
get_cached_access_token()
A
43 12 46
user_has_delegated_access()
A
48 7 37
get_refresh_token()
A
47 7 35
validate_access_token()
A
55 8 18
get_application_roles()
S
56 6 18
token_has_role()
S
59 6 14
get_authorization_code()
S
54 3 22
save_authorization_code()
S
58 3 16
delete_tokens()
S
57 2 17
save_refresh_token()
S
60 2 14